package com.example.rae.order.controller;

import com.example.rae.order.feign.MemberApiFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FeignController {

    @Autowired
    private MemberApiFeign memberApiFeign;

    @GetMapping("/feignMember")
    public String feignMember(){
        return memberApiFeign.getMember();
    }
}
